package com.nanfang51g3.ckz.scope;


import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import javax.inject.Scope;

/**
 * In Dagger, an unscoped component cannot depend on LocationService scoped component. As
 * {@link  com.nanfang51g3.ckz.di.AppComponent} is LocationService scoped component ({@code @Singleton}, we create LocationService custom
 * scope to be used by all fragment components. Additionally, LocationService component with LocationService specific scope
 * cannot have LocationService sub component with the same scope.
 */

@Scope
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface ContractScoped {
}
